import _fatch from '@/api/request'
function getUserInfo () {
  return _fatch({
    url: '/info'
  })
}
function toLogout (){
    return _fatch({
        url: '/logout'
      })
}
export { getUserInfo , toLogout}
